package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.HisEmployeeDao;
import io.renren.entity.HisEmployeeEntity;
import io.renren.service.HisEmployeeService;



@Service("hisEmployeeService")
public class HisEmployeeServiceImpl implements HisEmployeeService {
	@Autowired
	private HisEmployeeDao hisEmployeeDao;
	
	@Override
	public HisEmployeeEntity queryObject(String id){
		return hisEmployeeDao.queryObject(id);
	}
	
	@Override
	public List<HisEmployeeEntity> queryList(Map<String, Object> map){
		return hisEmployeeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return hisEmployeeDao.queryTotal(map);
	}
	
	@Override
	public void save(HisEmployeeEntity hisEmployee){
		hisEmployeeDao.save(hisEmployee);
	}
	
	@Override
	public void update(HisEmployeeEntity hisEmployee){
		hisEmployeeDao.update(hisEmployee);
	}
	
	@Override
	public void delete(String id){
		hisEmployeeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		hisEmployeeDao.deleteBatch(ids);
	}
	
}
